package com.cxyd.modules.api.dto;

import java.io.Serializable;

public class RcsResultHK implements Serializable {
    private static final long serialVersionUID = 1L;
    private String code = "0";
    private String message = "success";
    private String reqCode;
    private String data;
    public RcsResultHK success(String reqCode) {
        this.reqCode = reqCode;
        return this;
    }

    public RcsResultHK error(String reqCode, String message) {
        this.code = "500";
        this.message = message;
        this.reqCode = reqCode;
        return this;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getReqCode() {
        return reqCode;
    }

    public void setReqCode(String reqCode) {
        this.reqCode = reqCode;
    }
    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
